﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="clr-namespace:ELTE.TFEG.Hough.Controls" x:Class="ELTE.TFEG.Hough.MainWindow"
        Title="MainWindow" Height="600" Width="1200">
    <Grid Background="#FF3EA434" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="150"/>
            <ColumnDefinition Width="7"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="75"/>
            <RowDefinition Height="7"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="7"/>
            <RowDefinition Height="75"/>
        </Grid.RowDefinitions>

        <Grid x:Name="grdImgContainer" Grid.Column="2" Grid.Row="0" Grid.RowSpan="5">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="7" />
                <RowDefinition/>
            </Grid.RowDefinitions>

            <ScrollViewer x:Name="scrollProcessResults" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Hidden" Grid.Column="2" Grid.Row="0" Background="Black">
                <StackPanel x:Name="stackResults" Orientation="Horizontal">
                    <Controls:ZoomableImage x:Name="imgBefore" Grid.Column="2" Grid.Row="0" />
                </StackPanel>
            </ScrollViewer>
            
            
            <ScrollViewer x:Name="scrollPreprocessedImages" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Hidden" Grid.Column="2" Grid.Row="2" Background="Black">
                <StackPanel x:Name="stackPreProcessedImages" Orientation="Horizontal"></StackPanel>
            </ScrollViewer>

        </Grid>

        <Border Grid.Column="0" Grid.Row="0" BorderBrush="#FFD1FF00" BorderThickness="5" Background="Black" >
            <StackPanel Orientation="Horizontal">
                <Image Source="/Images/prev.png" x:Name="btnPrev" MouseUp="btnPrev_MouseUp_1" Visibility="Collapsed"/>
                <Image Source="/Images/next.png" x:Name="btnNext" MouseUp="btnNext_MouseUp_1" Visibility="Collapsed"/>
            </StackPanel>
        </Border>
        <Border Grid.Column="0" Grid.Row="2" BorderBrush="#FFD1FF00" BorderThickness="5" Background="Black" >
            <ScrollViewer>
                <StackPanel x:Name="stackImgList"/>
            </ScrollViewer>
        </Border>

        <Border Grid.Column="0" Grid.Row="4" BorderBrush="#FFD1FF00" BorderThickness="5" Background="Black">
            <Label x:Name="lblInfo" Foreground="White" ></Label>
        </Border>
    </Grid>


</Window>
